<?php

class User_Form_Login extends Form_Base {

    public function init()
    {
        $email    = new Form_Element_Email();
        $password = new Form_Element_Password();
        $submit   = new Form_Element_Submit("submit", array(
                    'label' => "Войти"
                ));

        $this->addDisplayGroup(array($email, $password), 'default', array(
            'legend' => 'Вход'
        ));

        $this->_addDisplayGroupActions(array($submit));
    }

}

